<!DOCTYPE html>
<html lang="zh-cn">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <title>Editor</title>
  <script type="text/javascript">
  // var Gaubee = {};
  // Gaubee.require = require;
  // require = undefined;
  </script>
  <link rel="stylesheet" type="text/css" href="css/base.css">
  <!-- <link rel="stylesheet" type="text/css" href="js/lib/jQuery/nanoscroller.css"> -->
  <link rel="stylesheet" type="text/css" href="css/index.css">
</head>
<body>
  <pre id="editor">
      function foo(items) {
      var i;
      for (i = 0; i &lt; items.length; i++) {
      alert("Ace Rocks " + items[i]);
      //?? //?? //?? //?? //?? //?? //?? //?? //?? //?? //?? //?? //?? //?? //?? //?? //?? //?? //?? //?? //??
      //??
      //??
      //??
      //??
      //??
      //??
      //??
      //??
      //??
      //??
      //??
      //??
      //??
      //??
      //??
      //??
      //??
      //??
      //??
      //??
      //??
      //??
      //??
      //??
      //??
      //??
      //??
      //??
      //??
      //??
      //??
      //??
      //??
      //??
      //??
      //??
      }
      }
  </pre>
  <script src="js/lib/jQuery/jquery.min.js" type="text/javascript" charset="utf-8"></script>
  <!-- // <script src="js/lib/ace/ace-bak.js" type="text/javascript" charset="utf-8"></script> -->
  // <script src="js/lib/ace/ace.js" type="text/javascript" charset="utf-8"></script>
  <script>
  var editor = Gaubee.ace.edit("editor");
  editor.setTheme("ace/theme/monokai");
  editor.getSession().setMode("ace/mode/javascript");
  // $("body").on("mouseout",function(){
  //   console.log("blur!! && save");
  // });
  </script>

</body>
</html>
